package pojo;

public class Rent {
    private int id; //编号
    private String userName; //姓名
    private String carNum; //车牌号
    private int status; //租借状态
    private String maturityDate; //到期日期

    public Rent(){
        super();
    }
    public Rent(int id,String userName,String carNum,int status,String maturityDate){
        super();
        this.id=id;
        this.userName=userName;
        this.carNum=carNum;
        this.status=status;
        this.maturityDate=maturityDate;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getCarNum() {
        return carNum;
    }

    public void setCarNum(String carNum) {
        this.carNum = carNum;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMaturityDate() {
        return maturityDate;
    }

    public void setMaturityDate(String maturityDate) {
        this.maturityDate = maturityDate;
    }

    public String toString(){
        return "Rent [id="+id+",userName="+userName+",carNum="+carNum+",status="+status+",maturityDate="+maturityDate+"]";
    }
}
